#include "CGamePlay.h"



int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
	
	CGamePlay *game = new CGamePlay();
	if (!game->GameInit(hInstance)) 
	{
		MessageBox(0, "Failed init", 0, 0);
		game->GameEnd();
		return 0;
	}

	game->GameRun();


	game->GameEnd();

	return 1;
}